package org.dev.vlp.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.dev.vlp.dto.CircleData;
import org.dev.vlp.entity.LearnRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.dev.vlp.mapper_.EasyBaseMapper;

import java.util.List;

/**
* @author 86184
* @description 针对表【vlp_learn_record】的数据库操作Mapper
* @createDate 2023-01-23 18:11:12
* @Entity org.dev.vlp.entity.LearnRecord
*/
@Mapper
public interface LearnRecordMapper extends EasyBaseMapper<LearnRecord> {
    int findNeedReviewWordCount(int userId,int lanId);

    List<Integer> findNeedReviewWordsID(int userId,int lanId);

    List<CircleData> findMmryPercentage(int userId,int lanId);

    int batchInsert(List<LearnRecord> learnRecords);

    List<LearnRecord> checkExistence(List<LearnRecord> learnRecords);
}




